package cn.icanci.loopstack.ras.common.socket;

/**
 * @author icanci
 * @since 1.0 Created in 2023/01/06 22:41
 */
public interface UriConstant {
    /**
     * ServerToClient
     */
    interface ServerToClient {
        /** 心跳   */
        String HEARTBEAT = "/ras/register/heartbeat";
        /** 刷新 */
        String REFRESH   = "/ras/register/refresh";
    }

    /**
     * ClientToServer
     */
    interface ClientToServer {
        /** 注册 */
        String REGISTER = "/ras/register/doRegister";
        /** 加载客户端和注册中心的信息 */
        String LOAD     = "/ras/register/load";
    }

    /**
     * ServerToServer
     */
    interface ServerToServer {
        /** 服务和服务之间心跳 */
        String HEARTBEAT                = "/ras/register/doHeartbeat";
        /** 服务端注册 */
        String REGISTER                 = "/ras/register/doServerRegister";
        /** 加载客户端和注册中心的信息 */
        String LOAD                     = "/ras/register/doLoad";
        /** 刷新客户端和注册中心的信息 */
        String REFRESH                  = "/ras/register/doRefresh";
        /** 刷新服务的状态信息：上线、下线等 */
        String TO_REFRESH_DELETE_STATUS = "/ras/register/refreshDeleteStatus";
    }
}
